add_rules("mode.debug", "mode.release")
add_requires("catch2")
add_requires("gmp",{optional = true})

set_license("Unlicense")
set_warnings("all")
set_languages("c++20")

target("BigIntegerTest")
    set_kind("binary")
    add_files("test/BigInteger.cpp")
    add_tests("default")
    add_packages("catch2","gmp")
    add_links("gmpxx") -- a easy fix

target("QueueStack")
    set_kind("binary")
    add_files("test/QueueStack.cpp")
    add_packages("catch2")

target("HashMap")
    set_kind("binary")
    add_files("test/HashMap.cpp")
    add_packages("catch2")
